package com.kun.process.servicetask;

import org.flowable.common.engine.api.delegate.Expression;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Component;

/**
 * @author fangkun
 * @create 2023-05-23-11:39
 * 这里将MyServiceTask02注册到spring容器中
 */
@Component
public class MyServiceTask02 implements JavaDelegate {

    Expression username;

    @Override
    public void execute(DelegateExecution delegateExecution) {
        System.out.println("=============MyServiceTask02=============");
    }
}
